﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Threading;
using RCTools;

namespace TestThread
    {
    class Program
        {
        static void Main(string[] args)
            {
            double[] tab1 = new double[] { 1, 2, 3, 4 };
            double[] tab2 = new double[] { 4, 5, 6, 7 };

            System.Console.WriteLine("Main thread = " + Thread.CurrentThread.ManagedThreadId);

            double[] tabResult = TabAddition.additionner(ref tab1, ref tab2);

            RCTools.Container.displayTab(tabResult);
            System.Console.ReadKey();
            }
        }
    }
